import request from '@/utils/request';

export async function login(params: { userName: string; userNo: string }) {
  // 调用umi-request实例
  return request.get('/api/login', {
    params,
  });
}
